home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20000114-20000217 / 000093_news@columbia.edu _Wed Jan 19 18:26:22 2000.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Return-Path: <news@columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id SAA04038
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Wed, 19 Jan 2000 18:26:22 -0500 (EST)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id SAA03819
  7.     for kermit.misc@watsun.cc.columbia.edu; Wed, 19 Jan 2000 18:25:32 -0500 (EST)
  8. X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
  9. From: jaltman@watsun.cc.columbia.edu (Jeffrey Altman)
  10. Subject: Re: strange behavior of ckermit7 on solaris2.5.1
  11. Date: 19 Jan 2000 23:25:32 GMT
  12. Organization: Columbia University
  13. Message-ID: <865h5c$3n9$1@newsmaster.cc.columbia.edu>
  14. To: kermit.misc@columbia.edu
  15.  
  16. In article <865gad$d56$1@nntp2.atl.mindspring.net>,
  17. Matthew H. Gerlach <gerlach@netcom.com> wrote:
  18. : I don't claim to be an expert at this, but looking at the man pages
  19. : on my Solaris box, the res_search() function essentially calls the 
  20. : DNS stuff directly.  The function, gethostbyname(), is a more appropriate
  21. : higher level function.  gethostbyname() will get the info based
  22. : on the "hosts" entry in /etc/nsswitch.conf.  This entry allows one to 
  23. : specify, files, nis, nisplus, and/or dns to resolve names.
  24. : It would be interesting for the original poster to show us their 
  25. : /etc/nsswitch.conf file to confirm or deny my theory to the problem.
  26. : Matthew
  27.  
  28. That would be a correct assessment if we were calling res_search()
  29. to perform the equivalent functionality provided by gethostbyname()
  30. or gethostbyaddr().  Instead of reading CNAME or A records from the
  31. DNS we are reading SRV and TXT records which are used to store other
  32. types of information such as
  33.  
  34.   on which port does the named service use on the specified host?
  35.  
  36. or 
  37.  
  38.   provide the Realm assigned to a specified hostname?
  39.  
  40. These questions must be answered by querying DNS via the res_search()
  41. function.  If there NIS+ pushes these queries off to a server that is
  42. fine, the question is how do we perform the push?
  43.  
  44.     Jeffrey Altman * Sr.Software Designer * Kermit-95 for Win32 and OS/2
  45.                  The Kermit Project * Columbia University
  46.               612 West 115th St #716 * New York, NY * 10025
  47.   http://www.kermit-project.org/k95.html * kermit-support@kermit-project.org